{% load auth %}
<form method="post" action=".">
    <div style="display:none">
        <input type="text" id="id_order" name="order" value="0" />
    </div>
    {% if form.errors %}
        <div class="form-row">
            <div>{{ form.errors }}</div>
        </div>
    {% endif %}
    
    <div style="float:left;width:70%;">
	    <div class="fieldset" style="margin-right:10px;">
	    	<h1>Descrizione Articolo</h1>
			<div class="form-row">
				<label>{{ form.title.label }}*</label>
				<div>{{ form.title }}</div>
			</div>
			<div class="form-row">
				<label>{{ form.subtitle.label }}</label>
				<div>{{ form.subtitle }}</div>
			</div>
			
			<div class="form-row">
				<label>{{ form.text.label }}</label>
				<div>{{ form.text }}</div>
			</div>
			
			<div class="form-row">
				<label>{{ form.excerpt.label }}</label>
				<div>{{ form.excerpt }}</div>
			</div>
		</div>
	</div>
	
	
	<div style="float:left;width:30%;">	
	    <div class="fieldset">
	    	<h1>Altre Info</h1>
	    	
		    <div class="form-row">
		        <label>{{ form.status.label }}*</label>
		        <div>{{ form.status }}</div>
		    </div>		    
		    
		    <div class="form-row">
				<label>Sezione*</label>
		        <div>{{form.section}}</div>
			</div> 	
		    
		    <div class="form-row" style="overflow:hidden;zoom:1;">
				<label>{{ form.publication_start.label }}*</label>
		        <div>{{ form.publication_start }}</div>
			</div>
			
		    <div class="form-row" style="overflow:hidden;zoom:1;">
				<label>{{ form.publication_end.label }}</label>
		        <div>{{ form.publication_end }}</div>
			</div>			
		</div>
		
		<div class="fieldset">
			<h1>SEO</h1>
			<div class="form-row">
				<label>{{ form.slug.label }}</label>
		        <div>{{ form.slug }}</div>
			</div>
			<div class="form-row">
				<label>{{ form.keywords.label }}</label>
		        <div>{{ form.keywords }}</div>
			</div>
		</div>
		{% form_auth_box %}
	</div>

	<div class="submit-row" style="clear:both">
		<input type="submit" value="{{title}}" />
	</div>
</form>
